package com.coocaa.ops.admin.v1.policygroup.provider;


import com.coocaa.ops.admin.v1.policygroup.model.DeleteResultModel;
import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupInfoEntity;

/**
 * @author bjh
 * @description 策略组信息原始表-更新provider接口
 * @date : 2020-03-12 14:46:04
 */
public interface  IPolicyGroupInfoUpdateProvider {
    /**
     * 保存
     *
     * @param inputEntity
     * @param userId
     * @return
     */
    PolicyGroupInfoEntity save(PolicyGroupInfoEntity inputEntity, Integer userId);

    /**
     * 删除副本
     *
     * @param id
     * @param version
     * @param userId
     */
    void deleteHistory(Integer id, Integer version, Integer userId);
    /**
     * 批量删除
     *
     * @param ids
     * @param userId
     * @return
     */
    DeleteResultModel deleteBatch(Integer[] ids, Integer userId);
}
